from pathlib import Path

class Config:
    # 基础路径配置
    BASE_DIR = Path(__file__).parent.parent
    DOCUMENTS_DIR = BASE_DIR / "data" / "documents"
    VECTOR_DB_PATH = BASE_DIR / "data" / "vector_store"
    
    # 文本分割配置
    CHUNK_SIZE = 1000
    CHUNK_OVERLAP = 200
    
    # API配置
    DEEPSEEK_API_KEY = "sk-e79e8015b93a48b2834ae362ecae1c5f"
    DEEPSEEK_API_BASE = "https://api.deepseek.com/v1"  # 基础URL
    TOP_K = 4 